package com.atguigu.springcloud.controller;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atguigu.springcloud.entities.CommonResult;

public class CustomerBlockHandler {
    public static CommonResult handleException1(BlockException exception){
        return new CommonResult(2023,"自定义限流1111————————");
    }
    public static CommonResult handleException2(BlockException exception){
        return new CommonResult(2023,"自定义限流222————————");
    }
}
